package com.learn.eduadboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.learn.eduadboot.entity.PromotionAd;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface AdDao extends BaseMapper<PromotionAd> {

    List<PromotionAd> getAdsBySpaceId(@Param("space_id") Integer sid);
}
